package com.example.mylibrary.db.bean;


import java.io.Serializable;

public class LocalAppInfoBean implements Serializable {
    private static final long serialVersionUID = 3214540694265755535L;

    private String appName;

    private String packageName;
    private int state;//0未占位可新增，1已有应用
    private int icon = 0;//图标0为未设置
    private int model = 0;

    public LocalAppInfoBean(String appName, String packageName, int state, int icon,
            int model) {
        this.appName = appName;
        this.packageName = packageName;
        this.state = state;
        this.icon = icon;
        this.model = model;
    }

    public LocalAppInfoBean() {
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "LocalAppInfoBean{" +
                "appName='" + appName + '\'' +
                ", packageName='" + packageName + '\'' +
                ", state=" + state +
                ", icon=" + icon +
                '}';
    }

    public int getModel() {
        return this.model;
    }

    public void setModel(int model) {
        this.model = model;
    }
}
